package com.ljn.core.dto.common.command;

import com.ljn.core.dto.common.Page;
import com.alibaba.fastjson.JSONObject;
/**
 * Created by liujunnan on 2017/11/16.
 */
public class QueryBaseCommand {
    public Page page = new Page();

    public Page getPage() {
        if (page == null) {
            page = new Page();
        }
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
